package com.pyue.eam.app.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 页面
 *
 * @author eam
 * @date 2023-06-08 11:19:23
 */
@Data
@TableName("app_page")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "页面")
public class AppPageEntity extends AppBaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 页面类型
     */
    @Schema(description = "页面类型")
    private Integer pageType;

    /**
     * 页面名称
     */
    @Schema(description = "页面名称")
    private String pageName;

    /**
     * 页面数据
     */
    @Schema(description = "页面数据")
    private String pageData;

    /**
     * 类别id(1为企业2为团长3职工9管理员)
     */
    @Schema(description = "类别id")
    private Integer typeId;

}
